Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes a small issue running Danet on windows using the serveStatic method.
![image](https://private-user-images.githubusercontent.com/64388064/305423335-a96dacfb-714f-4e7e-b35f-e73bbd2e96b7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjcyMDYsIm5iZiI6MTczOTQ2NjkwNiwicGF0aCI6Ii82NDM4ODA2NC8zMDU0MjMzMzUtYTk2ZGFjZmItNzE0Zi00ZTdlLWIzNWYtZTczYmJkMmU5NmI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE3MTUwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThmZmIxODg5OTJiODZjNzczMDg1NjliOTUxYmFkNjNiNjFjNjcwY2VjYWE2YzMyMmJjZjg0NGZkMGRiMWY1Y2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.qOk-QWTxURSMT7Oe3EQNNOIAScncTDPA052ZxVC_Lq0)
On windows when we use Deno.cwd() we get the full path of the OS starting with C:\...
This added a \ before C:\ which resolved in a invalid path :
/C:\Users\xxxx\Documents\Projects\xxxx/assets/manifest.json
Type of change
Checklist:
deno lint
ANDdeno fmt
ANDdeno task test
and got noerrors.
in CONTRIBUTING.md
Pull Requests for the same
update/change?